home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'graphsv3.pas' rev: 3.00
-
- #ifndef graphsv3HPP
- #define graphsv3HPP
- #include <Menus.hpp>
- #include <Controls.hpp>
- #include <StdVCL.hpp>
- #include <OleCtrls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <ActiveX.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Graphsv3
- {
- //-- type declarations -------------------------------------------------------
- __dispinterface _DGraph;
- typedef System::DelphiInterface<_DGraph> _di__DGraph;
- __dispinterface _DGraph: public IDispatch /* __guid="{0842D101-1E19-101B-9AAF-1A1626551E7C}" */
- {
-
- };
- typedef _DGraph Graph;
-
- typedef Olectrls::TOleEnum AutoIncConstants;
-
- typedef Olectrls::TOleEnum BackgroundConstants;
-
- typedef Olectrls::TOleEnum ColorDataConstants;
-
- typedef Olectrls::TOleEnum DataResetConstants;
-
- typedef Olectrls::TOleEnum DrawModeConstants;
-
- typedef Olectrls::TOleEnum DrawStyleConstants;
-
- typedef Olectrls::TOleEnum FontFamilyConstants;
-
- typedef Olectrls::TOleEnum FontStyleConstants;
-
- typedef Olectrls::TOleEnum FontUseConstants;
-
- typedef Olectrls::TOleEnum ForegroundConstants;
-
- typedef Olectrls::TOleEnum GraphTypeConstants;
-
- typedef Olectrls::TOleEnum GridStyleConstants;
-
- typedef Olectrls::TOleEnum IndexStyleConstants;
-
- typedef Olectrls::TOleEnum LabelsConstants;
-
- typedef Olectrls::TOleEnum LegendStyleConstants;
-
- typedef Olectrls::TOleEnum LineStatsConstants;
-
- typedef Olectrls::TOleEnum PaletteConstants;
-
- typedef Olectrls::TOleEnum PatternedLinesConstants;
-
- typedef Olectrls::TOleEnum PrintStyleConstants;
-
- typedef Olectrls::TOleEnum RandomDataConstants;
-
- typedef Olectrls::TOleEnum SymbolDataConstants;
-
- typedef Olectrls::TOleEnum ThickLinesConstants;
-
- typedef Olectrls::TOleEnum TicksConstants;
-
- typedef Olectrls::TOleEnum YAxisPosConstants;
-
- typedef Olectrls::TOleEnum YAxisStyleConstants;
-
- typedef Olectrls::TOleEnum BorderStyleConstants;
-
- __dispinterface _DGraphEvents;
- typedef System::DelphiInterface<_DGraphEvents> _di__DGraphEvents;
- __dispinterface _DGraphEvents: public IDispatch /* __guid="{0842D102-1E19-101B-9AAF-1A1626551E7C}" */
-
- {
-
- };
-
- class DELPHICLASS TGraph;
- class PASCALIMPLEMENTATION TGraph : public Olectrls::TOleControl
- {
- typedef Olectrls::TOleControl inherited;
-
- private:
- _di__DGraph FIntf;
- int __fastcall Get_hWnd(void);
- void __fastcall Set_hWnd(int &Value);
- short __fastcall Get_Color(short index);
- void __fastcall Set_Color(short index, short Value);
- float __fastcall Get_Data(short index);
- void __fastcall Set_Data(short index, float Value);
- short __fastcall Get_Extra(short index);
- void __fastcall Set_Extra(short index, short Value);
- short __fastcall Get_FFamily(short index);
- void __fastcall Set_FFamily(short index, short Value);
- short __fastcall Get_FSize(short index);
- void __fastcall Set_FSize(short index, short Value);
- short __fastcall Get_FStyle(short index);
- void __fastcall Set_FStyle(short index, short Value);
- System::WideString __fastcall Get_Label_(short index);
- void __fastcall Set_Label_(short index, const System::WideString Value);
- System::WideString __fastcall Get_Legend(short index);
- void __fastcall Set_Legend(short index, const System::WideString Value);
- short __fastcall Get_Pattern(short index);
- void __fastcall Set_Pattern(short index, short Value);
- short __fastcall Get_Symbol(short index);
- void __fastcall Set_Symbol(short index, short Value);
- float __fastcall Get_XPos(short index);
- void __fastcall Set_XPos(short index, float Value);
-
- protected:
- virtual void __fastcall InitControlData(void);
- virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
-
- public:
- HIDESBASE void __fastcall Refresh(void);
- void __fastcall AboutBox(void);
- __property _di__DGraph ControlInterface = {read=FIntf};
- __property Graphics::TPicture* Picture = {read=GetTPictureProp, write=SetTPictureProp, index=35};
- __property System::WideString QuickData = {read=GetWideStringProp, write=SetWideStringProp, index=37
- };
- __property short SeeThru = {read=GetSmallintProp, write=SetSmallintProp, index=39, nodefault};
- __property System::WideString _QuickData = {read=GetWideStringProp, write=SetWideStringProp, index=0
- };
- __property short Color[short index] = {read=Get_Color, write=Set_Color};
- __property float Data[short index] = {read=Get_Data, write=Set_Data};
- __property short Extra[short index] = {read=Get_Extra, write=Set_Extra};
- __property short FFamily[short index] = {read=Get_FFamily, write=Set_FFamily};
- __property short FSize[short index] = {read=Get_FSize, write=Set_FSize};
- __property short FStyle[short index] = {read=Get_FStyle, write=Set_FStyle};
- __property System::WideString Label_[short index] = {read=Get_Label_, write=Set_Label_};
- __property System::WideString Legend[short index] = {read=Get_Legend, write=Set_Legend};
- __property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
- __property short Symbol[short index] = {read=Get_Symbol, write=Set_Symbol};
- __property float XPos[short index] = {read=Get_XPos, write=Set_XPos};
-
- __published:
- __property TabStop ;
- __property Align ;
- __property DragCursor ;
- __property DragMode ;
- __property ParentShowHint ;
- __property PopupMenu ;
- __property ShowHint ;
- __property TabOrder ;
- __property Visible ;
- __property OnDragDrop ;
- __property OnDragOver ;
- __property OnEndDrag ;
- __property OnEnter ;
- __property OnExit ;
- __property OnStartDrag ;
- __property OnMouseUp ;
- __property OnMouseMove ;
- __property OnMouseDown ;
- __property OnKeyUp ;
- __property OnKeyPress ;
- __property OnKeyDown ;
- __property OnDblClick ;
- __property OnClick ;
- __property Olectrls::TOleEnum AutoInc = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false,
- index=1, nodefault};
- __property Olectrls::TOleEnum Background = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=2, nodefault};
- __property System::WideString BottomTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=3};
- __property Olectrls::TOleEnum ColorData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=4, nodefault};
- __property System::WideString CtlVersion = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=5};
- __property Olectrls::TOleEnum DataReset = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=6, nodefault};
- __property Olectrls::TOleEnum DrawMode = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=7, nodefault};
- __property Olectrls::TOleEnum DrawStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=8, nodefault};
- __property short ExtraData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=9, nodefault
- };
- __property Olectrls::TOleEnum FontFamily = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=10, nodefault};
- __property short FontSize = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=11, nodefault
- };
- __property Olectrls::TOleEnum FontStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=12, nodefault};
- __property Olectrls::TOleEnum FontUse = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false,
- index=13, nodefault};
- __property Olectrls::TOleEnum Foreground = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=14, nodefault};
- __property System::WideString GraphCaption = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=15};
- __property float GraphData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=16};
- __property short GraphStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=17,
- nodefault};
- __property System::WideString GraphTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=18};
- __property Olectrls::TOleEnum GraphType = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=19, nodefault};
- __property Olectrls::TOleEnum GridStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=20, nodefault};
- __property System::WideString ImageFile = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=21};
- __property Olectrls::TOleEnum IndexStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=22, nodefault};
- __property short LabelEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=23,
- nodefault};
- __property Olectrls::TOleEnum Labels = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false,
- index=24, nodefault};
- __property System::WideString LabelText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=25};
- __property System::WideString LeftTitle = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=26};
- __property Olectrls::TOleEnum LegendStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=27, nodefault};
- __property System::WideString LegendText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
- , index=28};
- __property Olectrls::TOleEnum LineStats = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=29, nodefault};
- __property short NumPoints = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=30,
- nodefault};
- __property short NumSets = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=31, nodefault
- };
- __property Olectrls::TOleEnum Palette = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false,
- index=32, nodefault};
- __property short PatternData = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=33
- , nodefault};
- __property Olectrls::TOleEnum PatternedLines = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=34, nodefault};
- __property Olectrls::TOleEnum PrintStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=36, nodefault};
- __property Olectrls::TOleEnum RandomData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=38, nodefault};
- __property Olectrls::TOleEnum SymbolData = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=40, nodefault};
- __property Olectrls::TOleEnum ThickLines = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=41, nodefault};
- __property short ThisPoint = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=42,
- nodefault};
- __property short ThisSet = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=43, nodefault
- };
- __property short TickEvery = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=44,
- nodefault};
- __property Olectrls::TOleEnum Ticks = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false, index=45
- , nodefault};
- __property float XPosData = {read=GetSingleProp, write=SetSingleProp, stored=false, index=46};
- __property float YAxisMax = {read=GetSingleProp, write=SetSingleProp, stored=false, index=47};
- __property float YAxisMin = {read=GetSingleProp, write=SetSingleProp, stored=false, index=48};
- __property Olectrls::TOleEnum YAxisPos = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=49, nodefault};
- __property Olectrls::TOleEnum YAxisStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=50, nodefault};
- __property short YAxisTicks = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=51,
- nodefault};
- __property Word Enabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=-514, nodefault
- };
- __property Olectrls::TOleEnum BorderStyle = {read=GetTOleEnumProp, write=SetTOleEnumProp, stored=false
- , index=-504, nodefault};
- __property int hWnd = {read=Get_hWnd, write=Set_hWnd, stored=false, nodefault};
- public:
- /* TOleControl.Create */ __fastcall virtual TGraph(Classes::TComponent* AOwner) : Olectrls::TOleControl(
- AOwner) { }
- /* TOleControl.Destroy */ __fastcall virtual ~TGraph(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TGraph(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE GUID LIBID_GraphLib;
- #define gphOff (Byte)(0)
- #define gphOn (Byte)(1)
- #define gphBlack (Byte)(0)
- #define gphBlue (Byte)(1)
- #define gphGreen (Byte)(2)
- #define gphCyan (Byte)(3)
- #define gphRed (Byte)(4)
- #define gphMagenta (Byte)(5)
- #define gphBrown (Byte)(6)
- #define gphLightGray (Byte)(7)
- #define gphDarkGray (Byte)(8)
- #define gphLightBlue (Byte)(9)
- #define gphLightGreen (Byte)(10)
- #define gphLightCyan (Byte)(11)
- #define gphLightRed (Byte)(12)
- #define gphLightMagenta (Byte)(13)
- #define gphYellow (Byte)(14)
- #define gphWhite (Byte)(15)
- #define gphNone (Byte)(0)
- #define gphGraphData (Byte)(1)
- #define gphColorData (Byte)(2)
- #define gphExtraData (Byte)(3)
- #define gphLabelText (Byte)(4)
- #define gphLegendText (Byte)(5)
- #define gphPatternData (Byte)(6)
- #define gphSymbolData (Byte)(7)
- #define gphXPosData (Byte)(8)
- #define gphAllData (Byte)(9)
- #define gphFontInfo (Byte)(10)
- #define gphNoAction (Byte)(0)
- #define gphClear (Byte)(1)
- #define gphDraw (Byte)(2)
- #define gphBlit (Byte)(3)
- #define gphCopy (Byte)(4)
- #define gphPrint (Byte)(5)
- #define gphWrite (Byte)(6)
- #define gphMonochrome (Byte)(0)
- #define gphColor (Byte)(1)
- #define gphRoman (Byte)(0)
- #define gphSwiss (Byte)(1)
- #define gphModern (Byte)(2)
- #define gphDefault (Byte)(0)
- #define gphItalic (Byte)(1)
- #define gphBold (Byte)(2)
- #define gphBoldItalic (Byte)(3)
- #define gphUnderlined (Byte)(4)
- #define gphUnderlinedItalic (Byte)(5)
- #define gphUnderlinedBold (Byte)(6)
- #define gphUnderlinedBoldItalic (Byte)(7)
- #define gphGraphTitle (Byte)(0)
- #define gphOtherTitles (Byte)(1)
- #define gphLabels (Byte)(2)
- #define gphLegend (Byte)(3)
- #define gphAllText (Byte)(4)
- #define gphAutoBlackWhite (Byte)(16)
- #define gphPie2D (Byte)(1)
- #define gphPie3D (Byte)(2)
- #define gphBar2D (Byte)(3)
- #define gphBar3D (Byte)(4)
- #define gphGantt (Byte)(5)
- #define gphLine (Byte)(6)
- #define gphLogLin (Byte)(7)
- #define gphArea (Byte)(8)
- #define gphScatter (Byte)(9)
- #define gphPolar (Byte)(10)
- #define gphHLC (Byte)(11)
- #define gphHorizontal (Byte)(1)
- #define gphVertical (Byte)(2)
- #define gphBoth (Byte)(3)
- #define gphStandard (Byte)(0)
- #define gphEnhanced (Byte)(1)
- #define gphXAxisLabelsOnly (Byte)(2)
- #define gphYAxisLabelsOnly (Byte)(3)
- #define gphMean (Byte)(1)
- #define gphMinmax (Byte)(2)
- #define gphMeanMinmax (Byte)(3)
- #define gphStddev (Byte)(4)
- #define gphStddevMean (Byte)(5)
- #define gphStddevMinmax (Byte)(6)
- #define gphStddevMinmaxMean (Byte)(7)
- #define gphBestfit (Byte)(8)
- #define gphBestfitMean (Byte)(9)
- #define gphBestfitMinmax (Byte)(10)
- #define gphBestfitMinmaxMean (Byte)(11)
- #define gphBestfitStddev (Byte)(12)
- #define gphBestfitStddevMean (Byte)(13)
- #define gphBestfitStddevMinmax (Byte)(14)
- #define gphAll (Byte)(15)
- #define gphPastel (Byte)(1)
- #define gphGrayscale (Byte)(2)
- #define gphPatternOff (Byte)(0)
- #define gphPatternOn (Byte)(1)
- #define gphMonochromeWithBorder (Byte)(2)
- #define gphColorWithBorder (Byte)(3)
- #define gphCrossPlus (Byte)(0)
- #define gphCrossTimes (Byte)(1)
- #define gphTriangleUp (Byte)(2)
- #define gphSolidTriangleUp (Byte)(3)
- #define gphTriangleDown (Byte)(4)
- #define gphSolidTriangleDown (Byte)(5)
- #define gphSquare (Byte)(6)
- #define gphSolidSquare (Byte)(7)
- #define gphDiamond (Byte)(8)
- #define gphSolidDiamond (Byte)(9)
- #define gphLinesOff (Byte)(0)
- #define gphLinesOn (Byte)(1)
- #define gphTicksOff (Byte)(0)
- #define gphTicksOn (Byte)(1)
- #define gphXAxisTicksOnly (Byte)(2)
- #define gphYAxisTicksOnly (Byte)(3)
- #define gphAlignLeft (Byte)(1)
- #define gphAlignRight (Byte)(2)
- #define gphVariableOrigin (Byte)(1)
- #define gphUserDefined (Byte)(2)
- #define gphFixedSingle (Byte)(1)
- extern PACKAGE GUID Class_Graph;
- extern PACKAGE void __fastcall Register(void);
-
- } /* namespace Graphsv3 */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Graphsv3;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // graphsv3
-